module.exports = {
  devServer: {
    open: process.platform === 'darwin',
    host: '0.0.0.0',
    port: 8080,
    https: false,
    hotOnly: false,
    // See https://github.com/vuejs/vue-cli/blob/dev/docs/cli-service.md#configuring-proxy
    proxy: null, // string | Object
    before: app => {}
  },
  configureWebpack: {
    resolve: {
      alias: {
        assets: '@/assets/',
        common: '@/common/',
        components: '@/components/',
        network: '@/network/',
        views: '@/views/',
      },
    },
  },
};
